package com.example.academic_affairs_system.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 分页对象
 *
 * @author hjx
 * @since 2023/02/04 10:00 AM
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("分页对象")
public class PageDTO {
  @ApiModelProperty("当前页码")
  long page;

  @ApiModelProperty("当前截取数量")
  long limit;
}
